package com.wms.service;

import com.wms.pojo.User;
import org.springframework.stereotype.Service;

import javax.validation.constraints.Max;
import java.util.List;

/**
 * @Description:
 * @Project:
 * @CreateDate: Created in 2020/3/17 20:17
 * @Author: YXH
 */
public interface UserService {


    public User queryUserByName(String name);

    public List<User> allAdmin();

    public User queryById(int id);

    public void setStatus(int id,int status);

    public void addAdmin(User user);

    public void editAdmin(User user);

    public void delAdmin(int id);
}
